import { Affix } from "antd";
const index = (props) => {
  return (
    <Affix
      offsetTop={10}
      offsetBottom={10}
      target={() => document.querySelector("main")}
      {...props}
    ></Affix>
  );
};
export default index;
